home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-0122 / general / tips1.doc < prev   
Text File  |  1997-04-16  |  19KB  |  331 lines

  1.  
  2.                               Some Tips on the ST
  3.                               -------------------
  4.                                Volume I, JAN. 86
  5.                                  by John DeMar
  6.  
  7.    Since  last  June,  I've  given my ST quite a work out. At the beginning, it
  8. seemed  like I was demonstrating it more than I was using it! Packing it up for
  9. a users' group meeting, bringing it to a store that was too anxious to wait for
  10. their  first shipment, showing it to all sorts of curious people dropping by at
  11. my  home. Even the regional sales rep had never seen the 520ST before he looked
  12. at mine...
  13.    Over  the past few months, I've gathered many facts and learned a few tricks
  14. that  I'd  like  to  pass  on. As always, this information is best communicated
  15. through  Compuserve  and  the  growing  network of ST-specific bulletin boards.
  16. You're  welcome  to give a copy to a friend who isn't fortunate enough to own a
  17. modem (yet!).
  18.    Hopefully, I'll compile another list like this in the future. Please forward
  19. to me any comments and tips of your own. Our BBS number is 315-457-7216 or drop
  20. a letter in the mail to QMI, PO Box 179, Liverpool, NY 13088. Enjoy!
  21.  
  22.  1) Saving the GEM DeskTop
  23.  -------------------------
  24.   I  always  see  an ST booted at a store and can't believe how messy they keep
  25. their DeskTop. I shouldn't be too critical -- the top of my desk is pretty hard
  26. to  find!   The  "Option"  Menu  on  the  GEM DeskTop has a choice called "Save
  27. DeskTop".  It  creates  the file called "DESKTOP.INF" which remembers what your
  28. DeskTop  looks  like  (icon  and window positions, screen resolution, etc). The
  29. next next time you turn on your computer, the DeskTop display will look just as
  30. you left it.
  31.    For  instance,  I have my disk icons placed at the bottom left of the screen
  32. and  the  trash  can  at the bottom right. I resize and move my windows so that
  33. they  are equality centered vertically next to each other (text viewing). Go to
  34. the  Option  Menu  and  Save  the  DeskTop.  Next time I boot, everything looks
  35. familiar and comfortable to me!
  36.  
  37.  2) Renaming the Icons
  38.  ---------------------
  39.   I've  found  it  more  appealing  to have the disk icons named "Top Disk" and
  40. "Bottom  Disk", to correspond to the physical position of my disk drives. Point
  41. to  a  disk  icon  and  click  the botton to make it dark (selected). Go to the
  42. Options Menu and select "Install Disk Drive". Type in the new name in the drive
  43. name field and click on the Install button. Voila! Your icon is renamed. If you
  44. save the DeskTop, the name will be there permanently.
  45.   You  can  rename  the  trash icon by loading the DESKTOP.INF file into a text
  46. editor  and renaming it where it is shown in its special format. If you do this
  47. with  ST-Writer, make sure the top and left margins are set to zero, then print
  48. to disk (do not use Save since ST-Writer uses a different format).
  49.  
  50.  3) Installing an Application Document-Type
  51.  ------------------------------------------
  52.   This  sounds  complicated but it's really a useful feature. For instance, you
  53. probably  name  all  of  your  ST-Writer  files  with  a file extention ".DOC".
  54. Normally,  you  would load ST-Writer then load the document file. Here's how to
  55. do it in one step!
  56.   On  the DeskTop, click once on the application program name (or icon) to make
  57. it black (selected). Go to the Option Menu and choose "Install Application". In
  58. the  field  called  Document Type, enter the three characters for the file type
  59. associated  with  the  application (DOC, for the case of ST-Writer). Then, save
  60. the  DeskTop  to make this a permanent choice.  From now on, all you need to do
  61. is  click  twice  on  any document file (".DOC" on the name) and ST-Writer will
  62. load  automatically  and the document file will load into ST-Writer, waiting in
  63. the  edit  mode! Make sure ST-Writer is on the same disk as your document files
  64. or this will not work.
  65.  
  66.  4) The Infamous <ESC> Key
  67.  -------------------------
  68.   The Escape comes in handy for a couple of things. When you remove a disk from
  69. a  drive and replace it with another, the DeskTop still shows the directory for
  70. the old disk. I spent the first two months closing the window and re-opening it
  71. to  see  the  directory of the new disk. Not so! Simply press the <ESC> key and
  72. the directory will appear for the new disk!
  73.   Also,  the Escape key is used to erase text fields in GEM Dialog Windows. For
  74. instance,  you're  entering the date in the Control Panel -- just hit <ESC> and
  75. the old date will erase and the cursor will go to the begining of the field.
  76.  
  77.  5) The Case of the Dead Mouse
  78.  -----------------------------
  79.   I've  heard  of  missing  mice  and a sick mouse or two. But, there's no such
  80. thing  as  a  dead  mouse! The ST keyboard allows you to move the cursor around
  81. without using the little critter.
  82.   Hold  <Alternate>  and the cursor arrow keys to move the pointer in steps and
  83. use  the  <Alternate>  and  <Shift> keys together with the cursor keys for fine
  84. movement.  The  <Alternate>  key with the <Insert> key acts like the left mouse
  85. button and the <Alternate> key with the <ClrHome> key acts like the right mouse
  86. button. It makes alot of sense once you think about it!
  87.  
  88.  6) Printing the Screen
  89.  ----------------------
  90.   You'll  need  an  "Epson compatible" printer and a healthy printer ribbon for
  91. this one. If you ever want to grab a graphic copy of your screen display, press
  92. <Alternate>  and  <Help> at the same time. Make sure your printer can handle it
  93. or the ST will go to sleep for a couple of minutes. Also, if the image will not
  94. fit  on  your printer, use the Printer Config Desk Accessory and choose 960 for
  95. the pixels/line. Save the DeskTop to make it permanent.
  96.  
  97.  7) A Cheap Monitor Stand
  98.  ------------------------
  99.   Out  of  despare,  I  looked around for something to lift my monitor up a few
  100. inches.  I grabbed a letter tray (one of those stackable, plastic in/out basket
  101. things)  and  flipped  it  upside  down.  The monitor sits nicely on it and the
  102. cables  hide into the opening of the tray! Most stationary stores sell them for
  103. three  to  five  dollars  or  so.  I have three trays now for my drives and two
  104. monitors.
  105.  
  106.  8) Upgrading to One Meg of RAM
  107.  ------------------------------
  108.   Who would ever believe that we would be complaining about having ONLY 512K of
  109. RAM!  With  TOS  in  ROM  (available  for  $25  any day now), the 520ST is more
  110. enjoyable  than  any  other personal computer. But, One Meg gives you lots room
  111. for  nice things like large desk accessories and a big RAM Disk or two. Now the
  112. bad news...
  113.   If  you  are not extremely comfortable with electronics and soldering, DO NOT
  114. attempt  the  upgrade  yourself!  Although I have an electronics degree and ten
  115. years  experience with soldering, only two out of the five I've upgraded so far
  116. have  worked  the  first  time.  The others required careful debugging using an
  117. oscilloscope along with a knowledge of microprocessor systems.
  118.   My  suggestion  is to wait for a plug-in board and pay the difference. If you
  119. can't wait, have someone install the RAM who has done it successfully before.
  120.   By  the  way, I've been more successful soldering to the BACK of the PC board
  121. instead  of  directly on top of the old RAM chips. The RF shield on the back of
  122. the  board  acts as a heat-sink for the RAM if the cardboard is cut away and no
  123. wires  touch  the  metal. Remember to bend back the leads 180 degrees to mirror
  124. the pinout of the chips!
  125.  
  126.  9) Using Folders
  127.  ----------------
  128.    When  you  find  yourself  staring at a screen full of files and looking all
  129. around  for  a  certain  file,  you're  ready for folders. Folders are actually
  130. sub-directories  to  keep  assocciated  files  together, just as you would keep
  131. related things together in a file cabinet.
  132.    Select  "New Folder..." from the File Menu on the DeskTop. Give it a general
  133. name  that  describes  its  intended  purpose (you cannot rename a folder later
  134. on!). Just click twice on the folder and you will see what's inside of it.
  135.    When  copying  files  into  a folder, make sure you have enough space on the
  136. disk  and  do  not  go according to the number of bytes shown at the top of the
  137. window; this refers only to the folder, not the total disk. Click the disk icon
  138. once  and  use  the  "Show Info" selection from the File Menu to check the free
  139. space on the disk.
  140.  
  141. 10) Backing-Up your Protected Software
  142. --------------------------------------
  143.    The  best  solution  to  this  problem  is  not to purchase software that is
  144. protected!  If you have a protected program and need a back-up copy, it is your
  145. right  to  protect yourself. First, ask the company to sell you a back-up copy,
  146. without  a  manual,  at a reduced price. If they laugh at you, laugh at them by
  147. not  purchasing  any  more of their products and by suggesting the same to your
  148. friends.
  149.    Fortunately  (and  unfortunately),  there  are  copier programs to copy just
  150. about anything on the ST. Please use these for your own personal back-ups only.
  151. And  respect  the  rights of those publishers who are respecting your rights by
  152. NOT  protecting  their  software.  We're  all  looking  forward  to  a long and
  153. prosperous  life  for  the  ST  and  a  computer without software makes a great
  154. doorstop (commodoorstop?)!
  155.  
  156. 11) Some Notes on The Operating System (TOS)
  157. --------------------------------------------
  158.    It's  pretty  frustrating  when  I hear people talk about the ST's operating
  159. system.  Here's a few definitions and clarifications on what's inside of there.
  160. I'll start from the bottom up.
  161.    The  ST  BIOS  (Built-In Operating System) is a group of functions to handle
  162. the  lowest-level tasks in the ST. This includes simple input and output to and
  163. from  the  devices and other functions specific to the hardware. These routines
  164. are  used  by  advanced programmers when more control or speed is needed. Since
  165. the  BIOS  is mostly specific to the ST, use of these calls will make it harder
  166. to convert the program to another computer.
  167.    GEMDOS  is  the  medium-level  set  of  functions  that  handles  disk  file
  168. management,  general  input  and output, memory allocation and program loading.
  169. This set of routines is similar to CPM/68K but is NOT CP/M compatible (this has
  170. been  one of the most common misunderstanings!). Although GEMDOS was written by
  171. Digital  Research  Inc,  the makers of CP/M, GEMDOS is closely related to MSDOS
  172. with similar function numbers and parameters.
  173.    Since  GEMDOS seperates the programmer from the hardware specifics, programs
  174. are more easily converted to other computers.
  175.    Another low-level set of routines is called the "Line-A Graphics". These are
  176. very  fast  drawing  functions  used  extensively by GEM and are also available
  177. directly  to the programmer. The Line-A routines are responsible for just about
  178. everything  you see on your ST screen. Use of these routines makes it difficult
  179. to  move programs to other computers and it's very difficult (or impossible) to
  180. make them work nearly as fast on any other computer!
  181.    GEM itself is actually not an operating system -- it's a library of routines
  182. available  to  the  programmer  that  manages  the grphics display and the user
  183. interaction  with the program. GEM is divided into two major sets of functions:
  184. the VDI (Virtual Device Interface) which handles higher-level graphics, and the
  185. AES  (Application  Environment  Services)  which  are  high-level  libraries of
  186. routines for the user/program interaction.
  187.    VDI makes extensive use of the line-a graphics to control the screen display
  188. with  over  one  hundred  available  functions!  The  AES contains libraries of
  189. routines  (totaling  over  a  hundred,  again!)  that  use  VDI and GEMDOS. The
  190. programmer  uses  these  libraries  for  a  consistent  environment between the
  191. program and the end user. GEM programs that do not make calls to the BIOS, are,
  192. in  theory,  completely  protable  to GEM on other computers, including the IBM
  193. PC.
  194.    The  GEM DeskTop is actually a GEM application that runs by default when you
  195. turn on your computer.
  196.    Any  or  all of these routines, including the BIOS can be ignored by another
  197. operating  system loaded into the ST. I can't wait to see what kinds of systems
  198. become  available  for the ST!  I hear there's definite plans for OS9 and other
  199. multitasking OS's.
  200.    If this was all too heavy to handle, the next topic should be more useful!
  201.  
  202. 12) Types of Programs
  203. ---------------------
  204.    The first day my ST arrived, I sat for three hours trying to make the cursor
  205. appear with 4XForth from the Dragon Group. Finally, I gave them a call and they
  206. talked me through it... install the program as a TOS application!
  207.    There are four types of programs on the ST and here's a quick explanation of
  208. each:
  209.   GEM  APPLICATION.   A  GEM application is a program with a ".PRG" type at the
  210. end of the filename. This type of program uses the GEM interface or was written
  211. to enter and exit appropriately with the GEM DeskTop.
  212.   GEM  DESK  ACCESSORY.   A Desk Accessory is a program, usually smaller than a
  213. full application program, that loads into memory when you turn on the computer.
  214. They  remain  in  memory  and  are convenient at anytime from a GEM application
  215. throught  the  "Desk"  Menu. These program, with a ".ACC" file type, are really
  216. multitasking programs running in infinite loops when the main application isn't
  217. busy.  A desk accessory must be programmed as such and regular application will
  218. NOT work as an accessory.
  219.   NON-GEM  PROGRAMS.   Other  programs that do not make use of the GEM routines
  220. have  a  ".TOS"  file type. They strickly use GEMDOS functions and supply their
  221. own  interaction  with  the  user.  Usually,  a TOS program requires a blinking
  222. cursor which is enabled automatically when the program is run.
  223.   TTP  PROGRAMS.   A  special type of TOS program has a ".TTP" file type. These
  224. programs  require  a list of arguments for input to the application. If you are
  225. familiar  with  CP/M  or  MSDOS, these programs are usually run by entering the
  226. name  of  the  program  as  a  command followed by the parameters. With the GEM
  227. DeskTop,  these  parameters  are passed through a dialog window. A few "Command
  228. Processors"  or  "Shells" are available for the ST that give you a command-line
  229. environment  similar  to  Unix, CP/M or MSDOS. TOS and TTP programs may be used
  230. through those command programs.
  231.  
  232. 13) Some Notes on the Hardware
  233. ------------------------------
  234.    I'm  still  impressed  every  time I look inside of an ST! I could go on for
  235. ever  talking  about the details but I better save that for later. So, here's a
  236. few comments on a some hardware-related things...
  237.    The 520ST has a Memory Controller that can handle upto four megabytes of RAM
  238. without  any additional support chips. The Operating System looks for upto four
  239. meg  of  RAM  and  all  program  may  access  it continually without banking or
  240. segmenting. With 32 1-Meg Ram chips and alot of work, you have a 4-Meg ST!
  241.    The ROM Cartridge port on the left side of the ST has no read/write line and
  242. is  strickly for read-only memory. You cannot add RAM or other support chips to
  243. that port.
  244.    The  DMA  port  is  not  a  Hard Drive Port; it requires about $200 worth of
  245. circuitry  to  control  a  bare  hard  disk  drive.  However,  it is relatively
  246. inexpensive  to  control  SASI  and  SCSI  devices  and  allows  for upto eight
  247. compatible  peripherals.  Atari  says  that a $699 hard drive will be available
  248. soon.  A  couple  of  other  companies  are  showing hard drives and hard drive
  249. controllers for the ST.
  250.    The  ST  has  four  custom  integrated circuits that are available only from
  251. Atari.  Besides  the ROMS, all of the remaining IC's are readily available "off
  252. the  shelf". Everthing in the ST is soldering in without sockets except for the
  253. custom  chips  and  ROMS  (these  are  not guaranteed to stay socketed in later
  254. production runs).
  255.    The floppy disk controller in the ST will control only two disk drives. But,
  256. it  will  control  5  1/4"  drives  with  a format compatible with MSDOS and an
  257. IBM-PC. A simple cable from inside the SF343/SF314 drive can hook to a 40 track
  258. or  80  track  5 1/4" drive. This isn't too useful really, but it is definitely
  259. faster  to  copy  files  direct  from  disk instead of transfering them through
  260. terminal  programs  between  an  ST  and  IBM-PC. However, the latter method is
  261. usually more convenient and less expensive.
  262.    Another  note: the ST cannot drive both the monochrome and color monitors at
  263. the same time.
  264.  
  265. 14) Programming on the ST
  266. -------------------------
  267.    No  matter  which  language you decide to program in, you won't get very far
  268. with  a  serious  application  without  the  Atari  Developers Kit. The ST is a
  269. sophisticated  hardware and software system that requires the documentation and
  270. lots of effort to learn.
  271.    I've  used 4XForth extensively on the ST (I have serial number 3 of 4XForth)
  272. and recommend it to anyone. The H&D Forth from Mirage is not as professional as
  273. 4XForth  and  the  price reflects that fact. If you just can't deal with Forth,
  274. there's many other choices.
  275.    ST  BASIC  is very complete and extensive. However, I do not recommend BASIC
  276. for  any serious programming on the ST. If you just want to learn a few things,
  277. you have nothing to loose -- BASIC is free!
  278.    The  same goes for LOGO. It's not a serious language for program development
  279. but  it's  a  very nice, powerful language for kids to use. In fact, many grade
  280. schools teach LOGO instead of BASIC.
  281.    "C"  is a favorite langauage for software developers on many computer, large
  282. or  small.  The  Atari  Developers  package  comes  with  Alcyon C from Digital
  283. Research.  Alcyon  C is acceptable but has many slow, intermediate steps in the
  284. compile  process.  Another  C,  from  Haba,  hasn't  received very good reviews
  285. because  of  its  incompleteness.  Yet  another  C,  from  Megamax,  looks very
  286. promising  but  it  isn't  available to the general public yet. The preliminary
  287. copy,  that I purchased from Megamax, has some room for improvement but is very
  288. fast  and easy to use. I'm looking forward to the final version and I'm placing
  289. my  bets  on  this  one.  More  implementations  of "C" are promised from other
  290. companies including Lattice C which is popular on many other computers.
  291.    Pascal  is  finding  its way onto the ST but I haven't looked at any of them
  292. yet. Modula 2, a language similar to Pascal, is available from TDI and seems to
  293. be  fast  and complete. I haven't looked it over completely but I know a couple
  294. of people that are enthusiastic about it.
  295.    I've noticed that other langauges are promised for the ST including Fortran,
  296. Basic compilers, a Basic in ROM catridge, Cobol and a few more.
  297.  
  298. ------------------------------------------------------------------------------
  299.  
  300.    Well, that's all for now! I've intended to write these things down for quite
  301. a  while and I hope it's useful to someone. Again, you're welcome to comment on
  302. my  comments  or  offer  your own notes for the next issue of "Some Tips on the
  303. ST".
  304.       <jd>
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.